Resonance calendar/ init .py files are optional

First published:

Last Edited:

Number of edits:

Encountering this structure, you might wonder which of these directories are meant to be packages, and which are just directories that happen to contain Python files.

The only real argument to create __init__.py files is to make it easy to understand if we are dealing with folders or packages (for the user, not for Python).

What is the usefulness of namespace packages?


Backlinks

These are the other notes that link to this one.

Nothing links here, how did you reach this page then?

Comment

Share your thoughts on this note. Comments are not public, they are messages sent directly to my inbox.
Aquiles Carattino
Aquiles Carattino
This note you are reading is part of my digital garden. Follow the links to learn more, and remember that these notes evolve over time. After all, this website is not a blog.
© 2024 Aquiles Carattino
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Privacy Policy